<?php $this->load->view("admin/header"); ?>
<?php $this->load->view("admin/top"); ?>
    <!-- 顶部区域 -->
    <div class="main-container" id="main-container">
        <!-- 左边导航区域 -->
        <?php $this->load->view("admin/left"); ?>
        <!-- 头部导航 -->
        <div class="main-content">
            <div class="main-content-inner">
                <div class="breadcrumbs" id="breadcrumbs">
                    <ul class="breadcrumb">
                        <li class="active">Server Information</li>
                    </ul>
                </div>
                <div class="page-content">
                    <!-- hi sir 这里是 内容区域 -->
                    <div class="col-xs-12">
                        <table id="simple-table" class="table table-striped table-bordered table-hover">
                            <thead>
                            <tr>
                                <th width="50%">Server Variables</th>
                                <th>Values</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td>PHP Version</td>
                                <td><?php echo PHP_VERSION; ?></td>
                            </tr>
                            <tr>
                                <td>Zend Version</td>
                                <td><?php echo zend_version(); ?></td>
                            </tr>
                            <tr>
                                <td>Mysql Support</td>
                                <td><?php echo function_exists('mysql_close') ? "Yes" : "No"; ?></td>
                            </tr>
                            <tr>
                                <td>Mysql Allow Persistent</td>
                                <td><?php echo @get_cfg_var("mysql.allow_persistent") ? "Yes" : "No"; ?></td>
                            </tr>
                            <tr>
                                <td>Mysql Max Links</td>
                                <td><?php echo @get_cfg_var("mysql.max_links") == -1 ? "Unlimited" : @get_cfg_var("mysql.max_links"); ?></td>
                            </tr>
                            <tr>
                                <td>Operate System</td>
                                <td><?php echo PHP_OS; ?></td>
                            </tr>
                            <tr>
                                <td>Server Information</td>
                                <td><?php echo htmlentities($_SERVER['SERVER_SOFTWARE']); ?></td>
                            </tr>
                            <tr>
                                <td>Max Upload File Size</td>
                                <td><?php echo get_cfg_var("upload_max_filesize") ? get_cfg_var("upload_max_filesize") : "Not Allowed"; ?></td>
                            </tr>
                            <tr>
                                <td>Max Execution Time</td>
                                <td><?php echo get_cfg_var("max_execution_time") . " Sec"; ?></td>
                            </tr>
                            <tr>
                                <td>Memory Limit</td>
                                <td><?php echo get_cfg_var("memory_limit") ? get_cfg_var("memory_limit") : "N/A" ?></td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <!-- /.main-content -->
        </div>
        <!-- /.main-container -->
    </div>
<?php $this->load->view("admin/footer"); ?>